package org.bright.dao.Impl;

import org.bright.dao.OrderDao;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Repository;

@Repository("orderNewDaoImpl")
public class OrderNewDaoImpl implements OrderDao {
    @Value("${newName}")
    private String newName;
    @Value("${newMoney}")
    private int newMoney;
    @Value("${color}")
    private String color;

    @Override
    public void showMessage() {
        System.out.println("苹果手机名："+newName+"价格："+newMoney+"颜色："+color);
    }
}
